<% @title = "All Pages" %>

<div id="allPages">
  <ul>
    <% for page in Page.find_all %>
      <li><%= link_to(page.title, page_url(:page_title => page)) %></li>
    <% end %>
  </ul>
</div>
